<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title>考勤管理</title>
		<script type="text/javascript" src="/SCMDB/js/Super.js"></script>
		<script type="text/javascript" src="/SCMDB/report/preview.js"></script>
		<script type="text/javascript"
			src="/SCMDB/js/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript" src="/SCMDB/js/jquery-1.4.2.js"></script>
		<link href="/SCMDB/style/SuperEdit.css" rel="stylesheet"
			type="text/css" />
	</head>
	<body>
		<h2>
			考勤管理
		</h2>
		<div class="main">
			<s:form action="addReportAction!addReport.action" theme="simple" method="post">
				<!-- 主体开始 -->
				<table border="0" cellpadding="1" cellspacing="1"
					class="tableModify">
					<tr>
						<th>
							卡号：
						</th>
						<td>
							<s:textfield name="labelID" cssClass="sInput" title="卡号" />
							<input type="hidden" value="must-input"/>
						</td>
					</tr>
					<tr>
						<th>
							添加经过的读卡器：
						</th>
						<td>
							<s:select id="reader" list="#request.readerList" listKey="lrmID" listValue="lrmName"></s:select>
							<img src="/SCMDB/images/add.gif" class="delImg"
								onclick="addObj('ctDivP','ctP',1)" title="添加" />
							<div id="ctDivP">
							</div>
						</td>
					</tr>
					<tr>
						<th> 
							入园时间： 
						</th>
						<td>
							<s:textfield id="inEntryTime" name="entity.inEntryTime"  title="开始时间"  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate:'#F{$dp.$D(\\\'inEntryTime\\\')}'})"></s:textfield>
						</td>
					</tr>
					<tr>
						<th> 
							出园时间： 
						</th>
						<td>
							<s:textfield id="outEntryTime" name="entity.outEntryTime" title="结束时间" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate:'#F{$dp.$D(\\\'outEntryTime\\\')}'})" ></s:textfield>
						</td>
					</tr>
					<tr>
						<td></td>
						<td><s:submit value="提交" cssStyle="border:0px;width:70px;height:27px;background:url(/SCMDB/images/loginBtn_02.png) no-repeat;"/></td>
					</tr>
				</table>
				</s:form>
		</div>
	</body>
	<%if("1".equals(request.getAttribute("message"))){%><script type="text/javascript">alert('考勤添加成功！')</script><%} %>
</html>